home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Media 22
/
PC MEDIA CD22.iso
/
share
/
prog
/
srdemo
/
readme.txt
< prev
next >
Wrap
Text File
|
1995-08-26
|
4KB
|
90 lines
SRDEMO 1.1 Quick Guide
Copyright (c) 1995 by David M. Wincelberg
Overview
SRDEMO demonstrates library routines for sorting file names that
may contain digits, spaces, lower-case letters and/or commas
within numbers. For example, the output of this program when run
on the file names in LISTFILE follows:
SRDEMO 1.1, Copyright (c) 1995 by David M. Wincelberg
Alphanumerically Sorted Filenames:
FILE FILE.000 FILE.BAK FILE0000
FILE0A FILE1 FILE1A FILE0002
FILE2 FILE2.DAT File4 FILE10
FILE23 FILE24 FILE102 FILE125
FILE127 FILE135 FILE1002
Notice that leading zeros are ignored and numbers of
different lengths are sorted properly. Also notice that "File4"
is a case-sensitive name. If you use the routines in SRLIB, your
users will see properly sorted file names even if some indexed
set of files unexpectedly needs another digit. For example,
suppose a user is indexing newsletters as Vxx#nn.TXT and receives
issue 100. Then, instead of V15#100.TXT appearing between
V15#10.TXT and V15#11.TXT, it will be displayed in its proper
place. Using SRLIB will also save your users the inconvenience
of typing leading zeros (or spaces in a long file name).
As a first test of SRLIB, enter:
SRDEMO @LISTFILE /W4
To put "File4" in its correct place, add the /I switch.
Files in SRDEMO.ZIP
README.TXT This file.
WHATSNEW.TXT Describes changes since version 1.0.
SRDEMO.EXE Program to sort file names properly even if
they include digits, spaces, lower-case
letters and/or commas within numbers.
LISTFILE List of file names for testing SRDEMO. Use
SRDEMO @LISTFILE /W to sort the names in this
file.
LISTFILE.W95 Another list file. This one includes long
file names, embedded spaces and commas within
numbers. (You cannot use ZOPEN with this
list file.)
SRDEMO.TXT The full documentation file.
SRLIB.FRM Order form for licensing or site-licensing
SRLIB.
ZOPEN.EXE Program to create zero-size files with short
("8.3") file names.
ZDEL.EXE Program to delete zero-size files with short
("8.3") file names.
FILE_ID.DIZ Description of SRDEMO to be used on-line or
in catalogs.
VENDINFO.DIZ Contains vendor-distribution and
registration-benefits information in a
computer-readable format. It also has SRDEMO
installation instructions, README.TXT, and a
copy of the license agreement. The first
part of VENDINFO.DIZ is human readable, while
the second part requires a program such as
the free VENDVIEW.